flowbox: Make the children focusable again
authorMatthias Clasen <mclasen@redhat.com>
Wed, 13 May 2020 22:27:18 +0000 (18:27 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 13 May 2020 22:27:18 +0000 (18:27 -0400)
This broke when the :focusable property was introduced.
The symptom was that keynav in the Emoji chooser did
not work anymore.

gtk/gtkflowbox.c

index f5afde78fb33ae2fcb0abfae604cb29dda152989..26b78e3fa38525de6eb0653c0c435ca4acc27945 100644 (file)
@@ -545,8 +545,9 @@ gtk_flow_box_child_class_init (GtkFlowBoxChildClass *class)
 static void
 gtk_flow_box_child_init (GtkFlowBoxChild *child)
 {
+  gtk_widget_set_focusable (GTK_WIDGET (child), TRUE);
 }
+
 /* Public API {{{2 */
 
 /**